﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace WindowsPhoneHackathonFall2011
{
    public class PointTimeStorage
    {
        
        //declare instance 
        DataSaver<PointTime> myPointDataSaver = new DataSaver<PointTime>(); 

        public void save(PointTime[] data)
        {
            //save Usage 
            myPointDataSaver.SaveMyData(data, "PointDataFile" + 0);
        }

        public void getData()
        {
            PointTime[] output = new PointTime[10];
            PointTime p = new PointTime();
            for (int i = 1; i < 10; i++ )
            {
                p.x = 300 + i;
                p.y = 300 + i*5;
                p.time = 1000 + i * 100;
            }

           
        }
        
 
    }
}
